/*
 * Copyright 2009 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

body {
  font: 14px Arial;
}

a {
  color: #36b;
}

p, h1, h2, h3, h4, h5, h6 {
  margin: 10px 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  font-family: Arial;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 25px;
}

h3 {
  font-size: 21px;
}

h4 {
  font-size: 18px;
}

form label {
  display: block;
  float: left;
  width: 130px;
  text-align: right;
  padding-right: 5px;
  height: 12px;
  margin-bottom: 4px;
}

form label.required {
  font-weight: bold;
  color: #d00;
}

form input {
  margin-bottom: 4px;
  padding: 4px;
  font: 14px Arial;
  height: 14px;
}

form input.text {
  border: 1px solid #666;
}

form input.button {
  display: block;
  float: right;
  height: 22px;
  font-size: 12px;
  padding: 0;
}

form input.radio {
  border: 0;
  width: auto;
}


form .buttonwrap {
  text-align: right;
}

.psa {
  font-size: 90%;
  text-align: center;
}

.whitebutton {
  background: #fff;
  padding: 5px 10px;
  border: 1px solid #ccc;
}

.clear {
  clear: both;
}

.thumbnailurl {
  width: 32px;
  height: 32px;
}

.smallrounded {
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
}

.medrounded {
  -moz-border-radius: 14px;
  -webkit-border-radius: 14px;  
}

.largerounded {
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
}

.largebottomrounded {
  -moz-border-radius-bottomleft: 20px;
  -moz-border-radius-bottomright: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -webkit-border-bottom-right-radius: 20px;
}

.largeleftrounded {
  -moz-border-radius-bottomleft: 20px;
  -moz-border-radius-topleft: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -webkit-border-top-left-radius: 20px;  
}

.xlargerounded {
  -moz-border-radius: 25px;
  -webkit-border-radius: 25px;
}

#message {
  text-align: center;
  background: #36b;
  color: #fff;
  width: 94%;
  margin: 0 auto;
  padding: 5px;
  margin-top: 10px;
}

#wrap, #bottombar {
  width: 900px;
  margin: 0 auto;
}


#topbar {
  padding: 2px 10px;
  font-size: 14px;
  background: transparent url('/static/images/b70.png') repeat; 
  color: #fff;
  border-bottom: 1px solid #000;
}

#topbar h1.logo {
  margin: 6px 0;
  padding: 0;
  cursor: pointer;
  font-size: 24px;
  line-height: 20px;
}

#topbar h1.logo a {
  color: #fff;
  text-decoration: none;
}

#topbar #controls {
  display: none;
}

#bottombar {
  padding: 6px 0 6px 10px;
  font-size: 11px;
  color: #aaa;
}

#bottombar a {
  color: #333;
}


/***** Login page *****/
#wrap.login {
  /* http://www.flickr.com/photos/derusha/561781801/sizes/l/ */
  background: #fff url('/static/images/bg_login.jpg') no-repeat center center;
  padding: 0;
}

#login-text {
  width: 50%;
  margin: 60px auto 60px 20px;
  background: transparent url('/static/images/b70.png') repeat;
  color: #eee;
  padding: 1px 15px;
  font-size: 16px;
}

#login-text h1 {
  color: #fff;
}

#wrap.login #contentwrap {
  margin: 0 auto;
  background: transparent url('/static/images/w70.png') repeat; 
  border: 1px solid #ccc;
  border-top: 1px solid #000;
}

#wrap.login #contentwrap table {
  margin: 0 auto;
  border-collapse: collapse;
}

#wrap.login #contentwrap table td {
  padding: 5px 15px;
}

#wrap.login #contentwrap label {
  width: 80px;
}

#wrap.login #contentwrap p {
  text-align: center;
  clear: both;
}

#login-fcbutton {
  text-align: center;
}

.gfc-button-base-outer-box, .gfc-button-base-inner-box {
  border-color: #666 !important;
}


/***** Register page *****/
#wrap.register {
  /* http://flickr.com/photos/gaetanlee/755481598/sizes/l/ */
  background: #fff url('/static/images/bg_register.jpg') no-repeat center center;
  padding-bottom: 20px;
}

#wrap.register #contentwrap {
  width: 50%;
  margin: 20px 0 10px auto;
  background: transparent url('/static/images/w70.png') repeat;
  border: 1px solid #000;
  border-right: 1px solid #ccc;
  padding: 10px 20px;
}

#wrap.register #contentwrap form {
  padding: 10px;
}

#wrap.register #contentwrap .buttonwrap {
  padding-right: 30px;
}

#wrap.register #contentwrap input.text {
  width: 200px;
}

#wrap.register #contentwrap .homelink {
  text-align: right;
  padding-top: 5px;
}


#register-photoselect {
  border-collapse: collapse;
}
#register-photoselect td {
  padding: 0;
  text-align: center;
}
#register-photoselect img {
  display: block;
}

/***** Logout page *****/

#wrap.logout {
  /* http://flickr.com/photos/shiznotty/3337509004/sizes/o/ */
  background: #fff url('/static/images/bg_logout.jpg') no-repeat center center;
}

#wrap.logout #contentwrap  {
  width: 50%;
  margin: 20px auto 200px auto;
  background: transparent url('/static/images/b80.png') repeat;
  color: #fff;
  padding: 10px;
  border: 1px solid #000;
  text-align: center;
}

/***** Members page *****/
#wrap.members {
  background: #eee;
  padding-bottom: 40px;
}

#wrap.members #topbar {
  background: transparent url('/static/images/w80.png') repeat;
  color: #000;
  border: 1px solid #ddd;
  border-bottom: 1px solid #000;
  padding: 2px 5px;
}

#wrap.members #topbar h1.logo a {
  color: #000;
}

#wrap.members #controls {
  display: block;
  float: right;
  padding: 0;
  margin: 0 0 0 0;
  vertical-align: super;
}

#wrap.members #controls img {
  width: 28px;
  height: 28px;
}

#wrap.members #content {
  position: relative;
}
#membersgadget {
  padding-top: 10px;
}

#memberstext {
  position: absolute;
  height: 50px;
  top: 0;
  background: #eee;
  border-bottom: 1px solid #ccc;
  width: 100%;
  padding: 5px 0;
}

#memberstext h3 {
  padding: 5px 0 0 10px;
  margin: 0;
}

#memberstext .psa {
  text-align: left;
  padding-left: 20px;
}

/***** Index page *****/

#wrap.index {
  /* http://www.flickr.com/photos/of_guido/3104351594/sizes/l/ */
  /* http://www.flickr.com/photos/janined/1669630273/sizes/l/ */
  /* http://www.flickr.com/photos/grendelkhan/121671781/sizes/l/ */
  background: #bbbec5 url("/static/images/bg_localsearch.jpg") no-repeat top center;
}

#wrap.index #topbar {
  background: transparent url('/static/images/w80.png') repeat;
  color: #000;
  border: 1px solid #ddd;
  border-bottom: 1px solid #000;
  padding: 2px 5px;
}

#wrap.index #topbar h1.logo a {
  color: #000;
}

#wrap.index #controls {
  display: block;
  float: right;
  padding: 0;
  margin: 0 0 0 0;
  vertical-align: super;
}

#login-loggedoutuser div {
  display: inline;
}

#wrap.index #controls img {
  width: 28px;
  height: 28px;
}

#wrap.index #content {
  padding: 0;
}

#localsearch {
  padding: 1px 10px 1px 10px;
  margin: 0;
}

#localsearch form {
  background: transparent url('/static/images/b80.png') repeat;
  padding: 2px 10px;
  color: #fff;
  width: 95%;
  margin: 10px auto;
}
#localsearch table {
  border-collapse: collapse;
}

#localsearch table#local-searchform {
  width: 100%;
}

#localsearch table td {
  padding-top: 0;
  padding-left: 0;
  padding-right: 16px;
}

#localsearch label {
  font: 11px Arial;
  font-style: italic;
  color: #fff;
  width: 100%;
}

#localsearch input.text {
  width: 100%;
}

#localsearch h3 {
  padding: 6px 0 2px 0;
  margin: 0;
}

#localsearch #searchresult-map {
  float: right;
  margin: 0 1px 10px 10px;
  width: 300px;
  height: 300px;
}

#localsearch .searchresult td {
  padding-bottom: 10px;
  padding-top: 5px;
}

#localsearch .searchresult .counter {
  padding-top: 10px;
}

#localsearch .searchresult .check a {
  display: inline;
  width: 50%;
  float: left;
  color: #aaa;
  cursor: pointer;
  font-size: 11px;
  font-style: italic;
  padding: 2px 2px 2px 18px;
  margin: 0;
  background: url("/static/images/tag_purple.png") no-repeat left bottom;
  text-decoration: underline;
}

#localsearch .searchresult .info a {
  display: inline;
  width: 40%;
  color: #aaa;
  cursor: pointer;
  font-size: 11px;
  font-style: italic;
  padding: 2px 2px 2px 18px;
  margin: 0;
  background: url("/static/images/magnifier.png") no-repeat left bottom;
  text-decoration: underline;
}

#localsearch .closelink {
  clear: both;
  text-align: right;
  margin: 10px 0 15px;
  padding: 0;
}

#localsearch .closelink a {
  background: #111;
  border: 1px solid #000;
}

#belowsearchwrap {
  background: #eee;
  padding-top: 1px;
  border: 1px solid #ccc;
  border-top: 1px solid #000;
  
  padding: 0 10px 10px 10px;
}

#belowsearchwrap .inset {
  width: 290px;
  float: right;
  background: #fff;
  margin: 10px 10px 0 10px;
  padding: 0 10px 10px 10px;
  border: 1px solid #ccc;
  clear: right;
}

#belowsearchwrap #inviteslist.inset {
  background: #fffeee;
}

#friendconnect-text-login {
  text-align: center;
}

table.restaurant-table {
  border-collapse: collapse;
  width: 420px;
}

table.restaurant-table td {
  padding: 5px;
}

table.restaurant-table .title {
  font-size: 20px;
}

table.restaurant-table .rating {
  width: 90px;
  text-align: right;
}

table.restaurant-table .controls a {
  color: #060;
  cursor: pointer;
  font-size: 11px;
  font-style: italic;
  padding: 2px 2px 2px 18px;
}

table.restaurant-table .controls .delete {
  background: url("/static/images/delete.png") no-repeat left bottom;
}

table.restaurant-table .controls .invite {
  background: url("/static/images/user_add.png") no-repeat left bottom;
}

table.restaurant-table .invites {
  background: #fffeee;
  border: 1px solid #ccc;
  margin: 5px;
  padding: 5px;
}

table.restaurant-table .invites ul {
  padding: 0 0 0 30px;
  margin: 0;
}

table.restaurant-table .invites img {
  width: 16px;
  height: 16px;
}

table.friend-table {
  border-collapse: collapse;
  width: 100%;
}

table.friend-table td {
  padding: 5px;
}

table.friend-table td.next {
  text-align: right;
}

table.friend-table table.restaurant-table {
  width: 100%;
}

table.friend-table table.restaurant-table .name {
  font-weight: bold;
}

#invitefriends {
  
}

#invitefriends .shadow {
  background: transparent url('/static/images/b30.png') repeat;
  padding: 20px;  
}

#invitefriends .chrome {
  background: #fff;
  border: 1px solid #666;
  padding: 10px;
}

#invitefriends a.cancel {
  float: right;
}

#invitefriends .invite {
  text-align: right;
}

#invitefriends img {
  width: 32px;
  height: 32px;
}

/*

 YouTube and Picasa result modifications 

*/

#restaurant-info {
  visibility: hidden;
  padding-left: 10px;
}

#restaurant-info-inner {
}

.restaurant-info-name {
  font-size: 150%;
}

.restaurant-info-rating {
 font-size: x-small;
}

.restaurant-info-table {
  width: 100%;
}

td.youtube {
  width: 450px;
}

#youtube-video {
  padding-left: 10px;
  border-left: 1px solid #aaa;
}

#video-metadata {
  color: #fff;
}

.video-metadata-description {
  font-size: small;
}

#restaurant-photos {
  list-style: none;	
	display: inline;
}

li.restaurant-photo {
  list-style: none; 
  display: inline;
}

.restaurant-photo-div {
  font-size: x-small;
  display: inline;
  float: left;
  margin-right: 5px;
  padding: 2px;
}

#picasa-images {
  border-top: 1px solid #aaa;
  padding-top: 10px;
  height: 72px;
}

.picasa-image {
  border: none;
}

.loading {
  color: #333;
  margin-left: 200px;
  padding: 40px;
  
}

.close-td {
  background-color: #eee;
  float:right;
  padding: 8px;
  background-color: #111;
}

tr.ajax-search-results {
  display: none;
}

#toggle-ajax-api-results {
  padding-top: 10px;
  border-top: 1px solid #aaa;
}

#searchcontrol {
  color: #fff;
  padding: 5px;
  font-size: x-small;
}

#blog-search-results {
}

#blog-search-results a {
  color: #36b;
}

#blog-search-results a b{
  color: #36b;
}

input.gsc-search-button {
  display: block;
  float: right;
  height: 22px;
  font-size: 12px;
  padding: 0;
}
